<?
$r = "../";
require_once($r."_engine/header_nocache.php");
require_once($r."_inc/mailto_engine.php");

$p = "contact";
include $r."_header.php";
?>

<form name="form_suggest">

<p class="textBold">W3Monitor Users   
<p class="text">Need Help? Read the <a href="<?=$r?>/newcomers/faq.php">W3Monitor FAQ</a>


<p class="text" style="margin-bottom: 0; padding-bottom: 0;">
Need additional help or have feedback or suggestions how to improve our service?<br>
Please e-mail us via <?=$g_mailto_support?> or use the contact form below:

<div id="divSuggestionsResult" class="redheading" style="margin-left: 0;"></div>

<table border="0" cellspacing="5" cellpadding="0" style="margin-left: -5; margin-bottom: -5;">
<tr>
    <td colspan="2"><span class="text">
        <textarea rows="8" name="f_message" style="width: 100%;"
            class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></textarea>
    </td>
</tr>
<tr>
	<td><span class="text">Your e-mail for a reply:</td>
	<td><span class="text">
        <input type="Edit" name="f_email" value="" style="width: 200;"
            class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></td>
</tr>
<tr>
	<td colspan="2"><span class="text">
		<input type="Button" value="Submit" style="width: 70;" 
            class="button2" onMouseOver="this.className='button2_act'" onMouseOut="this.className='button2'"
            onClick="send_suggestions();">
	</td>
</tr>
</table>
</form>

<script type="text/javascript" language="JavaScript">
function send_suggestions() 
{
    /* TODO: replace with generic function */
	var s = 
		'<table cellspacing="0" cellpadding="0">'+
		'<tr>'+
		'<td><img src="../images/throbber.gif" width="39" height="39" alt="" border="0"></td>'+
		'<td><p class="text" id="tm_action_text">Sending...</td>'+
		'</tr>'+
		'</table>';
    var div = document.getElementById("divSuggestionsResult");
	div.innerHTML = s;
    div.style.display = 'block';
            	
	var f = document.form_suggest;
	ajaxLoadDataToInnerHtml(
		ajaxAppendToUrl(
			g_site_root_ajax+"/company/contact__suggest.php",
			ajaxFormToUrl("form_suggest")
		),
		"divSuggestionsResult");
}
</script>


<p class="textBold">Media
<p class="text">Contact us at <?=$g_mailto_media?>

<p class="textBold">Partners
<p class="text">Contact us at <?=$g_mailto_partner?>


<?
include $r."_footer.php";
?>